'''
 * Created by PyCharm.
 * User: longbob
 * Date: 2018/9/18 0018
 * Time: 16:01
'''
from src.lib.WebSocket import WebSocket

if __name__ == '__main__':
    token = input('token:')
    try:
        ws = WebSocket()
        ws.connect('172.20.1.74:8808', token)
    except Exception as e:
        print(e)
        print('server 端关闭连接')
